local extension = Package:new("zhugong")

extension.extensionName = "jiudianbo"

extension:loadSkillSkelsByPath("./packages/jiudianbo/pkg/zhugong/skills")

Fk:loadTranslationTable{
  ["zhugong"] = "主公篇",
  ["@shi"] = "失" -- 添加标记名称的翻译
}

-- 武将定义与技能添加
General:new(extension, "qun_huangzu", "qun", 5):addSkills { "botaoko", "bojianlei" , "bomuai" }

-- 翻译表配置
Fk:loadTranslationTable{
  ["qun_huangzu"] = "黄祖",                   -- 武将名称
  ["#qun_huangzu"] = "江夏锁虎",             -- 武将称号
  ["cv:qun_huangzu"] = "官方",               -- 配音演员
  ["illustrator:qun_huangzu"] = "官方",      -- 画师

  ["~qun_huangzu"] = "不对，吾乃江夏狩，何寇之有...", -- 武将台词
}


-- 假设extension为当前扩展包变量
General:new(extension, "qun_dongzhuo", "qun", 7):addSkills { "boquanchen", "bozhongchan" } -- 技能名对应之前定义的"quanchen"

Fk:loadTranslationTable{
  ["qun_dongzhuo"] = "董卓",                   -- 武将名称
  ["#qun_dongzhuo"] = "大汉权臣",             -- 武将称号
  ["cv:qun_dongzhuo"] = "官方",               -- 配音演员
  ["illustrator:qun_dongzhuo"] = "官方",      -- 画师

   ["~qun_dongzhuo"] = "美人迷人眼，溢权昏人智……",

}
 
General:new(extension, "qun_yuanshao", "qun", 6):addSkills { "bosishi" , "bosangong" , "bofangjian"} 

Fk:loadTranslationTable{
  ["qun_yuanshao"] = "袁绍",                   -- 武将名称
  ["#qun_yuanshao"] = "四世三公",             -- 武将称号
  ["cv:qun_yuanshao"] = "官方",               -- 配音演员
  ["illustrator:qun_yuanshao"] = "官方",      -- 画师

  ["~qun_yuanshao"] = "纵横天下二十载，霸业说与山鬼听。", -- 武将台词
}

General:new(extension, "bozizhi_liubei", "shu", 6):addSkills { "borenyi", "borenxin", "bodilu" }  

Fk:loadTranslationTable{  
  ["bozizhi_liubei"] = "刘备",                   -- 武将名称  
  ["#bozizhi_liubei"] = "仁德之主",             -- 武将称号  
  ["cv:bozizhi_liubei"] = "官方",               -- 配音演员  
  ["illustrator:bozizhi_liubei"] = "官方",      -- 画师  

  ["~bozizhi_liubei"] = "离心离德，蜀汉恐危。", -- 武将台词  
}  

General:new(extension, "bozhi_sunjian", "wu", 5):addSkills { "boxianfeng", "boyinghun"}
 
Fk:loadTranslationTable{
["bozhi_sunjian"] = "孙坚",                   -- 武将名称
["#bozhi_sunjian"] = "江东猛虎",             -- 武将称号
["cv:bozhi_sunjian"] = "官方",               -- 配音演员
["illustrator:bozhi_sunjian"] = "官方",      -- 画师
 
["~bozhi_sunjian"] = "身怀宝器，必受群狼觊觎……", -- 武将台词

}

-- 曹操武将定义
General:new(extension, "bozhi_caocao", "wei", 6):addSkills { "bojianxiong", "boxielong"}

Fk:loadTranslationTable{
  ["bozhi_caocao"] = "曹操",                   -- 武将名称
  ["#bozhi_caocao"] = "乱世奸雄",             -- 武将称号
  ["cv:bozhi_caocao"] = "官方",               -- 配音演员
  ["illustrator:bozhi_caocao"] = "官方",      -- 画师
  
  ["~bozhi_caocao"] = "雪鬓霜囊，大业未完。", -- 武将台词
}



General:new(extension, "bozhi_sunquan", "wu", 4,6):addSkills {  "boqianzhi","bozhiheng" , "boxinshu","boshiwan" }

Fk:loadTranslationTable{
  ["bozhi_sunquan"] = "孙权",                   -- 武将名称
  ["#bozhi_sunquan"] = "东吴大帝",             -- 武将称号
  ["cv:bozhi_sunquan"] = "官方",               -- 配音演员
  ["illustrator:bozhi_sunquan"] = "官方",      -- 画师
  ["~bozhi_sunquan"] = "自古许多忧，英雄老来愁。", -- 武将台词
}


return extension
